/////////////////////////////////////////////////////////////////////////////
// Name:        wxmudnotebook.cpp
// Purpose:     
// Author:      Stephen Whittle
// Modified by: 
// Created:     08/06/2009 21:42:03
// RCS-ID:      
// Copyright:   
// Licence:     
/////////////////////////////////////////////////////////////////////////////

// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"

#ifdef __BORLANDC__
#pragma hdrstop
#endif

#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif

////@begin includes
#include "wxmudtextctrl.h"
////@end includes

#include "wxmudnotebook.h"

////@begin XPM images
////@end XPM images


/*
 * wxMudNotebook type definition
 */

IMPLEMENT_DYNAMIC_CLASS( wxMudNotebook, wxAuiNotebook )


/*
 * wxMudNotebook event table definition
 */

BEGIN_EVENT_TABLE( wxMudNotebook, wxAuiNotebook )

////@begin wxMudNotebook event table entries
////@end wxMudNotebook event table entries

END_EVENT_TABLE()


/*
 * wxMudNotebook constructors
 */

wxMudNotebook::wxMudNotebook()
{
    Init();
}

wxMudNotebook::wxMudNotebook(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style)
{
    Init();
    Create(parent, id, pos, size, style);
}


/*
 * wxMudNotebook creator
 */

bool wxMudNotebook::Create(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style)
{
////@begin wxMudNotebook creation
    wxAuiNotebook::Create(parent, id, pos, size, style);
    CreateControls();
////@end wxMudNotebook creation
    return true;
}


/*
 * wxMudNotebook destructor
 */

wxMudNotebook::~wxMudNotebook()
{
////@begin wxMudNotebook destruction
////@end wxMudNotebook destruction
}


/*
 * Member initialisation
 */

void wxMudNotebook::Init()
{
////@begin wxMudNotebook member initialisation
////@end wxMudNotebook member initialisation
}


/*
 * Control creation for wxMudNotebook
 */

void wxMudNotebook::CreateControls()
{    
////@begin wxMudNotebook content construction
    wxMudNotebook* itemAuiNotebook1 = this;

    wxMudTextCtrl* itemRichTextCtrl2 = new wxMudTextCtrl( itemAuiNotebook1, ID_RICHTEXTCTRL, wxEmptyString, wxDefaultPosition, wxSize(100, 100), wxWANTS_CHARS );
    this->AddPage(itemRichTextCtrl2, _("Tab"), false);

////@end wxMudNotebook content construction
}


/*
 * Should we show tooltips?
 */

bool wxMudNotebook::ShowToolTips()
{
    return true;
}

/*
 * Get bitmap resources
 */

wxBitmap wxMudNotebook::GetBitmapResource( const wxString& name )
{
    // Bitmap retrieval
////@begin wxMudNotebook bitmap retrieval
    wxUnusedVar(name);
    return wxNullBitmap;
////@end wxMudNotebook bitmap retrieval
}

/*
 * Get icon resources 
 */

wxIcon wxMudNotebook::GetIconResource( const wxString& name )
{
    // Icon retrieval
////@begin wxMudNotebook icon retrieval
    wxUnusedVar(name);
    return wxNullIcon;
////@end wxMudNotebook icon retrieval
}

